#ifndef _NXRASTERDEF_H_
#define _NXRASTERDEF_H_

#include "NX2DObjectBaseDef.h"

typedef struct tag_NXRasterInterface 
{
	bool (*NXRaster_Init)();	
	bool (*NXRaster_Release)();
	bool (*NXRaster_MakeBuffer)( IN TPOUTLINEFIGURE* figure, IN NXRect& rtRect, IN int& nWidth, IN int& nHeight, OUT float*& pBuffer );
	bool (*NXRaster_RotateFigure)( IN TPOUTLINEFIGURE* figure, IN NXRect& rtRect, IN int& nWidth, IN int& nHeight,  IN float fRotate, IN	NXPOINTF ptTrans, IN float fScale, OUT float*& pBuffer );
	bool (*NXRaster_SetUseGPU)(bool bUse);

}NXRasterInterface;

typedef NXRasterInterface (*fnGetRasterInterface)();

#endif 